//Thu 04 Feb 2010 04:33:17 PM CST 
#include <iostream>
#include <string>
#include <vector>

using namespace std;

int main(int argc, char* argv[])
{
	int K, N, C;
	cin >> K;
	for(int i=0; i<K; i++)
	{
		cin >> N >> C;
		
	}
	return 0;
}
